<template>
  <a-layout-footer class="bg-white admin-content-footer">
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage"
      :page-sizes="[5,10,20, 50, 100, this.data.length]"
      :page-size="pagesize"
      layout="total, sizes, prev, pager, next, jumper"
      :total="this.data.length"
    ></el-pagination>
  </a-layout-footer>
</template>

<script>
export default {
  name: "adminContentFooter",
  props: [
    "handleSizeChange",
    "handleCurrentChange",
    "currentPage",
    "pagesize",
    "data"
  ]
};
</script>